package vn.edu.ptithcm.pim.common.bean;

import java.util.ArrayList;
import java.util.List;

import org.apache.commons.collections.Factory;
import org.apache.commons.collections.list.LazyList;

public class MultiPartFileUploadBean {

	private List<FileUploadBean> fileUploadBeans;

	@SuppressWarnings("unchecked")
	public MultiPartFileUploadBean() {
		fileUploadBeans = LazyList.decorate(new ArrayList<FileUploadBean>(),
				new Factory() {
					public Object create() {
						return new FileUploadBean();
					}
				});
	}

	public List<FileUploadBean> getFileUploadBeans() {
		return fileUploadBeans;
	}

	public void setFileUploadBeans(List<FileUploadBean> fileUploadBeans) {
		this.fileUploadBeans = fileUploadBeans;
	}

}
